package com.ly.common.core.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统按钮权限-vo
 *
 * @author luoyun
 * @Date: 2025/5/14 15:55
 * @Note:
 */
@Data
@Builder
@NoArgsConstructor
@Schema(description = "系统按钮权限")
public class SysButtonVO {

    /**
     * 权限编码
     */
    @Schema(description = "权限编码")
    private String action;
    /**
     * 权限策略1显示2禁用
     */
    @Schema(description = "权限策略1显示2禁用")
    private String type;
    /**
     * 权限描述
     */
    @Schema(description = "权限描述")
    private String describe;
    /**
     * 权限状态(0无效1有效)
     */
    @Schema(description = "权限状态(0无效1有效)")
    private String status;

    public SysButtonVO(String action, String type, String describe, String status) {
        this.action = action;
        this.type = type;
        this.describe = describe;
        this.status = status;
    }
}
